import {request} from './index'
export function getDjRadioCateList() {
  return request({
    url: "/dj/catelist"
  })
}
export function getGoodNewDjradio(type) {
  return request({
    url: '/dj/recommend/type',
    params: {
      type
    }
  })
}
export function getDjradioRank(cateId, offset) {
  return request({
    url: '/dj/radio/hot',
    params: {
      cateId,
      limit: 22,
      offset
    }
  })
}
export function getDjradioDetail(rid) {
  return request({
    url: '/dj/detail',
    params: {
      rid
    }
  })
}
export function getDjradioPrograms(rid, offset) {
  return request({
    url: '/dj/program',
    params: {
      rid,
      limit: 100,
      offset
    }
  })
}